
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>PC蛋蛋</title>
<link rel="stylesheet" type="text/css" href="__HOME_CSS__/newdsn/css/table.css" />
<link rel="stylesheet" type="text/css" href="__HOME_CSS__/default/css/g_PCEGG.css" />
<link rel="stylesheet" type="text/css" href="__HOME_CSS__/js/jquery/ui-lightness/jquery-ui.css" />
<script type="text/javascript" src="__HOME_JS__/js/jquery.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/jquery-ui.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/jquery.ui.datepicker-zh-CN.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/libs.js"></script>
<script type="text/javascript" src="__HOME_JS__/default/js/skin.js"></script>
<script type="text/javascript">
function change(){
  var tbl=$('#tb').val();
  if(tbl){alert($('#lottery').val())
    location.href = 'dresult?lottery=' + $('#lottery').val()+'&date='+$('#date').val()+'&table='+tbl;
  }else{
    location.href = 'dresult?lottery=' + $('#lottery').val()+'&date='+$('#date').val()+'&table=1';  
  }
}
$(function(){$('#date').change(change).datepicker();})
</script>
</head>
<body class="L_BJPK10 skin_blue">
<!--
 -->
<select id="lottery" onchange="change()">
<foreach name="lottery" item="vo" k="key">
<option value="{$key}" <if condition="$c_id eq $key">selected="selected"</if> >{$vo.text}</option>
</foreach>
</select>
日期：<input id="date" name="date" value="<?php echo $date?>" />
<div id="drawTable">
<table class="list table_ball table">
<thead>
  <tr>
    <th>期数</th>
    <th>开奖时间</th>
    <th colspan="3">开出号码</th>
    <th class="strong">总和</th>
  </tr>
</thead>
<tbody>
<foreach name="list" item="vo">
 <tr data-detail="JZDX=,1;SB=G,3;DS=S,1;DX=X,2;" data-addon="">
    <td class="period">{$vo.c_no}</td>
    <td class="drawTime">{$vo.time}</td> 
	<foreach name="vo.number" item="v">
    <td class="name ballname"><span class="b{$v}">{$v}</span></td> 
   </foreach>
    <td class="bpt">{$vo.sum}</td> 
  </tr>
</foreach>
</tbody></table>
</div>
</body>
</html>